package com.rtz.util;



import java.util.HashMap;
import java.util.Map;


public class SuccResult extends Result {

	private static final String succStatus = "success"; 
	
	private static final String resultKey = "data";
	
	private Map<String, Object> result;
	
	public SuccResult() {
		super();
	}
	
	
	public SuccResult(Object obj) {
		super(200, succStatus);
		Map<String, Object> v = new HashMap<String, Object>();
		v.put(resultKey, obj);
		this.setResult(v);
	}


	public Map<String, Object> getResult() {
		return result;
	}


	public void setResult(Map<String, Object> result) {
		this.result = result;
	}


}
